package com.wyh;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {
        System.out.println(DeductType.MASTER);
        Deduct userDeduct = DeductFactory.buildDeduct(DeductType.MASTER.name());
        double deduct = userDeduct.deduct();
        System.out.println(deduct);
    }
}
